package bill.study.javaPuzzlers.classy;

/**
 * A qualifying expression for a static method invocation is evaluated, but its
 * values is ignored. There is no requirement hat the value be non-null.
 * 
 * Java Language should not allow invoke an static method on an expression
 * 
 * @author yangliu
 * 
 */
public class Null {
	public static void greet() {
		System.out.println("Hello World");
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		((Null) null).greet();

	}

}
